package com.example.elderlycare.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.elderlycare.dao.entity.Supplier;

import java.util.List;
import java.util.Map;

public interface SupplierMapper extends BaseMapper<Supplier> {
    /**
     * querySupplierList 查询供应商列表
     *
     * @param params 查询参数
     * @return List<Supplier>
     */
    List<Supplier> querySupplierList(Map<String, Object> params);

    /**
     * querySupplierCount 查询供应商总数
     *
     * @param params 查询参数
     * @return count
     */
    Integer querySupplierCount(Map<String, Object> params);
}
